package cn.abcsys.cloud.devops.pipeline.service;

import com.alibaba.fastjson.JSONObject;

import cn.abcsys.cloud.devops.pipeline.common.GridBean;
import cn.abcsys.cloud.devops.pipeline.model.TaskModel;
import cn.abcsys.cloud.devops.pipeline.util.Result;

public interface PipelineService {

	public Result createTask(JSONObject paramIn);

	public Result jenkinsJobBuild(JSONObject paramIn);

	public Result jenkinsBuildConsoleOutput(JSONObject paramIn);

	public Result getTask(Integer taskId);

	public Result deleteTask(Integer taskId);

	public Result startTask(JSONObject paramIn);
	
	public Result clairScanner(JSONObject paramIn);
	
	public Result clairLogs(JSONObject paramIn);
	
	public Result makeImage(JSONObject paramIn);

	public Result uploadAppItem(JSONObject paramIn);

	public Result uploadImageItem(JSONObject paramIn);

	public Result pushImage(JSONObject paramIn);

	public Result getTaskByProjectId(Integer projectId);

	public GridBean getApplications(TaskModel taskModel);

	public Result updateTask(JSONObject paramIn);
}
